package com.sunnyebuy.merchant.po;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * The persistent class for the customer database table.
 */
@Entity
public class Customer implements Serializable {

	private static final long serialVersionUID = -1963873607214854593L;
	private String customerId;
	private Timestamp createdTime;
	private String customerAddress;
	private String customerAnswer;
	private Date customerBirthday;
	private String customerEmail;
	private String customerFirstName;
	private int customerGender;
	private Date customerLastLoginDate;
	private String customerLastLoginIp;
	private String customerLastName;
	private String customerLevel;
	private String customerMobile;
	private String customerPassword;
	private String customerPhone;
	private String customerQuestion;
	private String customerSalt;
	private int customerStatus;
	private int customerVisitCount;

	public Customer() {
	}

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "customer_id")
	public String getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	@Column(name = "created_time")
	public Timestamp getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	@Column(name = "customer_address")
	public String getCustomerAddress() {
		return this.customerAddress;
	}

	public void setCustomerAddress(String customerAddress) {
		this.customerAddress = customerAddress;
	}

	@Column(name = "customer_answer")
	public String getCustomerAnswer() {
		return this.customerAnswer;
	}

	public void setCustomerAnswer(String customerAnswer) {
		this.customerAnswer = customerAnswer;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "customer_birthday")
	public Date getCustomerBirthday() {
		return this.customerBirthday;
	}

	public void setCustomerBirthday(Date customerBirthday) {
		this.customerBirthday = customerBirthday;
	}

	@Column(name = "customer_email")
	public String getCustomerEmail() {
		return this.customerEmail;
	}

	public void setCustomerEmail(String customerEmail) {
		this.customerEmail = customerEmail;
	}

	@Column(name = "customer_first_name")
	public String getCustomerFirstName() {
		return this.customerFirstName;
	}

	public void setCustomerFirstName(String customerFirstName) {
		this.customerFirstName = customerFirstName;
	}

	@Column(name = "customer_gender")
	public int getCustomerGender() {
		return this.customerGender;
	}

	public void setCustomerGender(int customerGender) {
		this.customerGender = customerGender;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "customer_last_login_date")
	public Date getCustomerLastLoginDate() {
		return this.customerLastLoginDate;
	}

	public void setCustomerLastLoginDate(Date customerLastLoginDate) {
		this.customerLastLoginDate = customerLastLoginDate;
	}

	@Column(name = "customer_last_login_ip")
	public String getCustomerLastLoginIp() {
		return this.customerLastLoginIp;
	}

	public void setCustomerLastLoginIp(String customerLastLoginIp) {
		this.customerLastLoginIp = customerLastLoginIp;
	}

	@Column(name = "customer_last_name")
	public String getCustomerLastName() {
		return this.customerLastName;
	}

	public void setCustomerLastName(String customerLastName) {
		this.customerLastName = customerLastName;
	}

	@Column(name = "customer_level")
	public String getCustomerLevel() {
		return this.customerLevel;
	}

	public void setCustomerLevel(String customerLevel) {
		this.customerLevel = customerLevel;
	}

	@Column(name = "customer_mobile")
	public String getCustomerMobile() {
		return this.customerMobile;
	}

	public void setCustomerMobile(String customerMobile) {
		this.customerMobile = customerMobile;
	}

	@Column(name = "customer_password")
	public String getCustomerPassword() {
		return this.customerPassword;
	}

	public void setCustomerPassword(String customerPassword) {
		this.customerPassword = customerPassword;
	}

	@Column(name = "customer_phone")
	public String getCustomerPhone() {
		return this.customerPhone;
	}

	public void setCustomerPhone(String customerPhone) {
		this.customerPhone = customerPhone;
	}

	@Column(name = "customer_question")
	public String getCustomerQuestion() {
		return this.customerQuestion;
	}

	public void setCustomerQuestion(String customerQuestion) {
		this.customerQuestion = customerQuestion;
	}

	@Column(name = "customer_salt")
	public String getCustomerSalt() {
		return this.customerSalt;
	}

	public void setCustomerSalt(String customerSalt) {
		this.customerSalt = customerSalt;
	}

	@Column(name = "customer_status")
	public int getCustomerStatus() {
		return this.customerStatus;
	}

	public void setCustomerStatus(int customerStatus) {
		this.customerStatus = customerStatus;
	}

	@Column(name = "customer_visit_count")
	public int getCustomerVisitCount() {
		return this.customerVisitCount;
	}

	public void setCustomerVisitCount(int customerVisitCount) {
		this.customerVisitCount = customerVisitCount;
	}

}